/************************************************************
 * Project Name         [Thinking_In_Java]
 * File Name            [PrettyGirl.java]
 * Creation Date        [24-Jul-2014]
 * 
 * Copyright© ge.y.yang@gmail.com All Rights Reserved
 * 
 * Work hard, play harder, think big and keep fit
 ************************************************************/
package pkg_principles.isp.example01;

/**
 * 美女
 * 
 * @author 不落的太阳(Sean Yang)
 * @version 1.0
 * @since JDK 6
 * 
 */
public class PrettyGirl implements IGoodBodyGirl, IGreatTemperamentGirl {

	private final String name;

	public PrettyGirl(String name) {
		this.name = name;
	}

	@Override
	public void greateTemperament() {
		System.out.println(name + " --- 气质非常好");
	}

	@Override
	public void goodLooking() {
		System.out.println(name + " --- 脸蛋很漂亮");
	}

	@Override
	public void niceFigure() {
		System.out.println(name + " --- 身材非常棒");
	}

}
